import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import 'normalize.css'
import reportWebVitals from './reportWebVitals';
import { persistor, store } from './store/index'
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/lib/integration/react';
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  // <React.StrictMode>
  <Provider store={store}>
  <PersistGate loading={null} persistor={persistor}>
    <App />
  </PersistGate>
  </Provider>
  // </React.StrictMode>
);

reportWebVitals();
